#pragma once

#include <cstdint>

class IndexBuffer {
public:
    IndexBuffer(const uint32_t* data, uint32_t count);
    ~IndexBuffer();

    void Bind() const;
    void Unbind() const;

    inline uint32_t GetCount() const { return count_; }

private:
    uint32_t rendererID_ = -1;
    uint32_t count_ = -1;
};
